//
//  MCSwitchTabController.h
//  正面金融
//
//  Created by 李李善 on 2018/6/9.
//  Copyright © 2018年 jay. All rights reserved.
//

#import "MCViewController.h"
#import "MainTabBarViewController.h"
#import "MCSwitchTabControl.h"
@interface MCSwitchTabController : MCViewController<panGestureRecognizerDelegate>
@property(nonatomic,strong)MCSwitchTabControl *tabControl;
@property(nonatomic,strong)MainTabBarViewController *tabBarC;
///必须要在[super viewDidLoad];前面使用
@property(nonatomic,strong)NSArray *viewControllers;
-(void)onClickSwitchTabControl:(MCSwitchTabControl *)switchTabControl;
@end

/**
 必须调用这里
 //[v insertSegmentWithTitle:@"我的供应" image:nil];
 //[v insertSegmentWithTitle:@"我的需求" image:nil];
 __weak typeof(self) weakSelf = self;
 [self onMainQueueAddSub:^(UIView *view, CGPoint origin, CGSize size, CGPoint center) {
 v.frame = CGRectMake(0, 0, size.width,kFitH(45));
 weakSelf.tabBarC.view.frame = CGRectMake(0,kFitH(45),size.width,size.height-kFitH(45));
 }];
 */
